import { http } from './http'
import { PageQueryParams, PageResponse } from '@/config/page'

/**
 * 获取文件动态汇总。
 */
export function querySummariesByDoc (docId: number, startDate: string) {
  return http().get<any[]>(`/api/document/file-dynamics/doc/${docId}/summaries`, { params: { startDate } })
}
